<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
 * SugarCRM Community Edition is a customer relationship management program developed by
 * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
 * 
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License version 3 as published by the
 * Free Software Foundation with the addition of the following permission added
 * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
 * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
 * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
 * details.
 * 
 * You should have received a copy of the GNU Affero General Public License along with
 * this program; if not, see http://www.gnu.org/licenses or write to the Free
 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 * 02110-1301 USA.
 * 
 * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
 * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
 * 
 * The interactive user interfaces in modified source and object code versions
 * of this program must display Appropriate Legal Notices, as required under
 * Section 5 of the GNU Affero General Public License version 3.
 * 
 * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
 * these Appropriate Legal Notices must retain the display of the "Powered by
 * SugarCRM" logo. If the display of the logo is not reasonably feasible for
 * technical reasons, the Appropriate Legal Notices must display the words
 * "Powered by SugarCRM".
 ********************************************************************************/


$listViewDefs ['Candidates'] = 
array (//CONPANY_NAME
  'COMPANY_NAME'=> 
  array (
    'width'=> '10%',
    'label'=> 'LBL_LIST_NAME',
    'link'=> true,
	'default'=> true,
        'sortable'=> true,
        'ACLTag'=> 'COMPANIES',
        'contextMenu'=> array('objectType'=> 'sugarAccount', 
                               'metaData'=> array('return_module'=> 'Companies', 
                                                   'return_action'=> 'ListView', 
                                                   'module'=> 'Companies',
                                                   'return_action'=> 'ListView', 
                                                   'parent_id'=> '{$ACCOUNT_ID}', 
                                                   'parent_name'=> '{$ACCOUNT_NAME}', 
                                                   'account_id'=> '{$ACCOUNT_ID}', 
                                                   'account_name'=> '{$ACCOUNT_NAME}',
                                                   ),
                              ),
        'related_fields'=> array('account_id')),
  'COMPANY_REGISTED_CAPITAL'=> 
  array (
    'width'=> '12%',
    'label'=> 'LBL_LIST_REGISTED_CAPITAL',
    'default'=> true,
  ),
  'MAIN_PRODUCT_NAME'=> 
  array (
    'width'=> '14%',
    'label'=> 'LBL_LIST_MAIN_PRODUCT',
    'default'=> true,
  ),
  'COMPANY_SALES'=> 
  array (
    'width'=> '13%',
    'label'=> 'LBL_LIST_SALES',
    'default'=> true,
  ),
  'COMPANY_PROFIT'=> 
  array (
    'width'=> '13%',
    'label'=> 'LBL_LIST_PROFIT',
    //'module'=> 'Employees',
    //'id'=> 'ASSIGNED_USER_ID',
    'default'=> true,
  ),
  'COMPANY_PROFIT_RATE'=> 
  array (
    'width'=> '10%',
    'label'=> 'LBL_LIST_PROFIT_RATE',
    'default'=> true,
  ),
  'COMPANY_PROFILE1'=> 
  array (
    'width'=> '15%',
    'label'=> 'LBL_LIST_PROFILE',
    'default'=> true,
  ),
  'COMPANY_ADDRESS'=> 
  array (
    'width'=> '10%',
    'label'=> 'LBL_LIST_ADDRESS',
    'default'=> true,
  ),
  'COMPANY_CONTACT_NAME'=> 
  array (
    'width'=> '10%',
    'label'=> 'LBL_LIST_CONTACT',
    'default'=> true,
  ),
  'COMPANY_MOBILE_PHONE'=> 
  array (
    'width'=> '10%',
    'label'=> 'LBL_LIST_PHONE',
    'default'=> true,
  ),
  'COMPANY_OFFICE_PHONE'=> 
  array (
    'width'=> '7%',
    'label'=> 'LBL_COMPANY_OFFICE_PHONE',
    'default'=> false,
  ),
  'COMPANY_TOTAL_LOAN'=> 
  array (
    'width'=> '10%',
    'label'=> 'LBL_LIST_TOTAL_LOAN',
    'default'=> true,
  ),
  'COMPANY_INVESTMENT_SUBJECT'=> 
  array (
    'width'=> '15%',
    'label'=> 'LBL_LIST_INVEST_SUBJECT',
    'default'=> false,
  ),
  
 
 // 'COMPANY_INVESTMENT_SUBJECT'=> array('width'=> '15%','label'=> 'LBL_COMPANY_INVESTMENT_SUBJECT','default'=> false,),
'COMPANY_ID'=> array('width'=> '15%','label'=> 'LBL_COMPANY_ID','default'=> false,),
//'COMPANY_NAME'=> array('width'=> '15%','label'=> 'LBL_COMPANY_NAME','default'=> false,),
//'COMPANY_ADDRESS'=> array('width'=> '15%','label'=> 'LBL_COMPANY_ADDRESS','default'=> false,),
'COMPANY_ORGANIZATION_CODE'=> array('width'=> '15%','label'=> 'LBL_COMPANY_ORGANIZATION_CODE','default'=> false,),
//'COMPANY_REGISTED_CAPITAL'=> array('width'=> '15%','label'=> 'LBL_COMPANY_REGISTED_CAPITAL','default'=> false,),
'COMPANY_REGISTED_DATE'=> array('width'=> '15%','label'=> 'LBL_COMPANY_REGISTED_DATE','default'=> false,),
//'COMPANY_CONTACT_NAME'=> array('width'=> '15%','label'=> 'LBL_COMPANY_CONTACT_NAME','default'=> false,),
//'COMPANY_MOBILE_PHONE'=> array('width'=> '15%','label'=> 'LBL_COMPANY_MOBILE_PHONE','default'=> false,),
//'COMPANY_OFFICE_PHONE'=> array('width'=> '15%','label'=> 'LBL_COMPANY_OFFICE_PHONE','default'=> false,),
'COMPANY_EMAIL'=> array('width'=> '15%','label'=> 'LBL_COMPANY_EMAIL','default'=> false,),
'COMPANY_REGISTED_TYPE'=> array('width'=> '15%','label'=> 'LBL_COMPANY_REGISTED_TYPE','default'=> false,),
'COMPANY_STOCK_HOLDERS'=> array('width'=> '15%','label'=> 'LBL_COMPANY_STOCK_HOLDERS','default'=> false,),
'COMPANY_IS_PROVINCE_LEVEL'=> array('width'=> '15%','label'=> 'LBL_COMPANY_IS_PROVINCE_LEVEL','default'=> false,),
'COMPANY_HIGH_TECH_LEVEL'=> array('width'=> '15%','label'=> 'LBL_COMPANY_HIGH_TECH_LEVEL','default'=> false,),
'COMPANY_TECH_FIELD'=> array('width'=> '15%','label'=> 'LBL_COMPANY_TECH_FIELD','default'=> false,),
//'COMPANY_PROFILE'=> array('width'=> '15%','label'=> 'LBL_COMPANY_PROFILE','default'=> false,),
'COMPANY_CERTIFICATION'=> array('width'=> '15%','label'=> 'LBL_COMPANY_CERTIFICATION','default'=> false,),
//'COMPANY_TOTAL_LOAN'=> array('width'=> '15%','label'=> 'LBL_COMPANY_TOTAL_LOAN','default'=> false,),
//'COMPANY_INVESTMENT_SUBJECT'=> array('width'=> '15%','label'=> 'LBL_COMPANY_INVESTMENT_SUBJECT','default'=> false,),
//'COMPANY_SALES'=> array('width'=> '15%','label'=> 'LBL_COMPANY_SALES','default'=> false,),
//'COMPANY_PROFIT'=> array('width'=> '15%','label'=> 'LBL_COMPANY_PROFIT','default'=> false,),
//'COMPANY_PROFIT_RATE'=> array('width'=> '15%','label'=> 'LBL_COMPANY_PROFIT_RATE','default'=> false,),
'COMPANY_CURRENT_YEAR'=> array('width'=> '15%','label'=> 'LBL_COMPANY_CURRENT_YEAR','default'=> false,),
'COMPANY_TOTAL_CAPITAL'=> array('width'=> '15%','label'=> 'LBL_COMPANY_TOTAL_CAPITAL','default'=> false,),
'COMPANY_DEBT'=> array('width'=> '15%','label'=> 'LBL_COMPANY_DEBT','default'=> false,),
'COMPANY_DEBT_RATE'=> array('width'=> '15%','label'=> 'LBL_COMPANY_DEBT_RATE','default'=> false,),
'COMPANY_QUICK_RATIO'=> array('width'=> '15%','label'=> 'LBL_COMPANY_QUICK_RATIO','default'=> false,),
'COMPANY_CURRENT_RATIO'=> array('width'=> '15%','label'=> 'LBL_COMPANY_CURRENT_RATIO','default'=> false,),
'COMPANY_ASSET_RETURN_RATIO'=> array('width'=> '15%','label'=> 'LBL_COMPANY_ASSET_RETURN_RATIO','default'=> false,),
'COMPANY_VENTURE_FINANCING'=> array('width'=> '15%','label'=> 'LBL_COMPANY_VENTURE_FINANCING','default'=> false,),
'COMPANY_INSTITUTE_FINANCING'=> array('width'=> '15%','label'=> 'LBL_COMPANY_INSTITUTE_FINANCING','default'=> false,),
'COMPANY_GOVERNMENT_SPENDING'=> array('width'=> '15%','label'=> 'LBL_COMPANY_GOVERNMENT_SPENDING','default'=> false,),
'COMPANY_SPECIAL_AWARD'=> array('width'=> '15%','label'=> 'LBL_COMPANY_SPECIAL_AWARD','default'=> false,),
'COMPANY_HAS_RD_CENTER'=> array('width'=> '15%','label'=> 'LBL_COMPANY_HAS_RD_CENTER','default'=> false,),
'COMPANY_RD_AWARD'=> array('width'=> '15%','label'=> 'LBL_COMPANY_RD_AWARD','default'=> false,),
'COMPANY_PANTENTS'=> array('width'=> '15%','label'=> 'LBL_COMPANY_PANTENTS','default'=> false,),
'COMPANY_INVENTION_PATENTS'=> array('width'=> '15%','label'=> 'LBL_COMPANY_INVENTION_PATENTS','default'=> false,),
'COMPANY_NEW_PRODUCTS'=> array('width'=> '15%','label'=> 'LBL_COMPANY_NEW_PRODUCTS','default'=> false,),
'COMPANY_RD_FINISH'=> array('width'=> '15%','label'=> 'LBL_COMPANY_RD_FINISH','default'=> false,),
'COMPANY_RD_COST'=> array('width'=> '15%','label'=> 'LBL_COMPANY_RD_COST','default'=> false,),
'COMPANY_RD_COST_INCOME_RATIO'=> array('width'=> '15%','label'=> 'LBL_COMPANY_RD_COST_INCOME_RATIO','default'=> false,),
'COMPANY_HAS_HIGHTECH_PRODUCTS'=> array('width'=> '15%','label'=> 'LBL_COMPANY_HAS_HIGHTECH_PRODUCTS','default'=> false,),
'COMPANY_HIGHTECH_PRODUCTS'=> array('width'=> '15%','label'=> 'LBL_COMPANY_HIGHTECH_PRODUCTS','default'=> false,),
'COMPANY_CORE_ADVENTAGE'=> array('width'=> '15%','label'=> 'LBL_COMPANY_CORE_ADVENTAGE','default'=> false,),
'COMPANY_HAS_FINANCING'=> array('width'=> '15%','label'=> 'LBL_COMPANY_HAS_FINANCING','default'=> false,),
'COMPANY_FINANCING'=> array('width'=> '15%','label'=> 'LBL_COMPANY_FINANCING','default'=> false,),
'COMPANY_EQUITY_FINANCING'=> array('width'=> '15%','label'=> 'LBL_COMPANY_EQUITY_FINANCING','default'=> false,),
'COMPANY_DEBT_FINANCING'=> array('width'=> '15%','label'=> 'LBL_COMPANY_DEBT_FINANCING','default'=> false,),
'COMPANY_CAPITAL_USAGE'=> array('width'=> '15%','label'=> 'LBL_COMPANY_CAPITAL_USAGE','default'=> false,),
'COMPANY_FINANCING_PROJECTS'=> array('width'=> '15%','label'=> 'LBL_COMPANY_FINANCING_PROJECTS','default'=> false,),
'STAFF_ADMINISTRATIVE'=> array('width'=> '15%','label'=> 'LBL_STAFF_ADMINISTRATIVE','default'=> false,),
'STAFF_RESEARCH'=> array('width'=> '15%','label'=> 'LBL_STAFF_RESEARCH','default'=> false,),
'STAFF_SALES'=> array('width'=> '15%','label'=> 'LBL_STAFF_SALES','default'=> false,),
'STAFF_OTHER'=> array('width'=> '15%','label'=> 'LBL_STAFF_OTHER','default'=> false,),
'STAFF_MASTER_ABOVE'=> array('width'=> '15%','label'=> 'LBL_STAFF_MASTER_ABOVE','default'=> false,),
'STAFF_BACHELOR'=> array('width'=> '15%','label'=> 'LBL_STAFF_BACHELOR','default'=> false,),
'STAFF_JUNIOR_COLLEGE'=> array('width'=> '15%','label'=> 'LBL_STAFF_JUNIOR_COLLEGE','default'=> false,),
'STAFF_OTHER_EDUCATION'=> array('width'=> '15%','label'=> 'LBL_STAFF_OTHER_EDUCATION','default'=> false,),
//Added for invested detail reps, modified by Derek Yang, 20140608
'LEGAL_REP_ID'=> array('width'=> '15%','label'=> 'LBL_LEGAL_REP_ID','default'=> false,),
 'LEGAL_REP_NAME'=> array('width'=> '15%','label'=> 'LBL_LEGAL_REP_NAME','default'=> false,),
 'LEGAL_REP_GENDER'=> array('width'=> '15%','label'=> 'LBL_LEGAL_REP_GENDER','default'=> false,),
 'LEGAL_REP_BIRTHDAY'=> array('width'=> '15%','label'=> 'LBL_LEGAL_REP_BIRTHDAY','default'=> false,),
 'LEGAL_REP_POSITION'=> array('width'=> '15%','label'=> 'LBL_LEGAL_REP_POSITION','default'=> false,),
 'LEGAL_REP_RACE'=> array('width'=> '15%','label'=> 'LBL_LEGAL_REP_RACE','default'=> false,),
 'LEGAL_REP_HOMETOWN'=> array('width'=> '15%','label'=> 'LBL_LEGAL_REP_HOMETOWN','default'=> false,),
 'LEGAL_REP_HIGHEST_EDU'=> array('width'=> '15%','label'=> 'LBL_LEGAL_REP_HIGHEST_EDU','default'=> false,),
 'LEGAL_REP_MOBILE_PHONE'=> array('width'=> '15%','label'=> 'LBL_LEGAL_REP_MOBILE_PHONE','default'=> false,),
 'LEGAL_REP_OFFICE_PHONE'=> array('width'=> '15%','label'=> 'LBL_LEGAL_REP_OFFICE_PHONE','default'=> false,),
 'LEGAL_REP_EMAIL'=> array('width'=> '15%','label'=> 'LBL_LEGAL_REP_EMAIL','default'=> false,),
 'LEGAL_REP_EDU_EXPERIENCE'=> array('width'=> '15%','label'=> 'LBL_LEGAL_REP_EDU_EXPERIENCE','default'=> false,),
 'LEGAL_REP_ID_CARD'=> array('width'=> '15%','label'=> 'LBL_LEGAL_REP_ID_CARD','default'=> false,),
 'LEGAL_REP_HOME_ADDRESS'=> array('width'=> '15%','label'=> 'LBL_LEGAL_REP_HOME_ADDRESS','default'=> false,),
 'LEGAL_REP_WORK_EXPERIENCE'=> array('width'=> '15%','label'=> 'LBL_LEGAL_REP_WORK_EXPERIENCE','default'=> false,),
 'LEGAL_REP_HONOUR_EXPERIENCE'=> array('width'=> '15%','label'=> 'LBL_LEGAL_REP_HONOUR_EXPERIENCE','default'=> false,),



  /*'SHIPPING_ADDRESS_CITY'=> 
  array (
    'width'=> '10%',
    'label'=> 'LBL_SHIPPING_ADDRESS_CITY',
    'default'=> false,
  ),
  'SHIPPING_ADDRESS_STATE'=> 
  array (
    'width'=> '7%',
    'label'=> 'LBL_SHIPPING_ADDRESS_STATE',
    'default'=> false,
  ),
  'SHIPPING_ADDRESS_POSTALCODE'=> 
  array (
    'width'=> '10%',
    'label'=> 'LBL_SHIPPING_ADDRESS_POSTALCODE',
    'default'=> false,
  ),
  'SHIPPING_ADDRESS_COUNTRY'=> 
  array (
    'width'=> '10%',
    'label'=> 'LBL_SHIPPING_ADDRESS_COUNTRY',
    'default'=> false,
  ),
  'RATING'=> 
  array (
    'width'=> '10%',
    'label'=> 'LBL_RATING',
    'default'=> false,
  ),
  'PHONE_ALTERNATE'=> 
  array (
    'width'=> '10%',
    'label'=> 'LBL_OTHER_PHONE',
    'default'=> false,
  ),
  'WEBSITE'=> 
  array (
    'width'=> '10%',
    'label'=> 'LBL_WEBSITE',
    'default'=> false,
  ),
  'OWNERSHIP'=> 
  array (
    'width'=> '10%',
    'label'=> 'LBL_OWNERSHIP',
    'default'=> false,
  ),
  'EMPLOYEES'=> 
  array (
    'width'=> '10%',
    'label'=> 'LBL_EMPLOYEES',
    'default'=> false,
  ),
  'SIC_CODE'=> 
  array (
    'width'=> '10%',
    'label'=> 'LBL_SIC_CODE',
    'default'=> false,
  ),
  'TICKER_SYMBOL'=> 
  array (
    'width'=> '10%',
    'label'=> 'LBL_TICKER_SYMBOL',
    'default'=> false,
  ),
  'DATE_MODIFIED'=> 
  array (
    'width'=> '5%',
    'label'=> 'LBL_DATE_MODIFIED',
    'default'=> false,
  ),
  'CREATED_BY_NAME'=> 
  array (
    'width'=> '10%',
    'label'=> 'LBL_CREATED',
    'default'=> false,
  ),
  'MODIFIED_BY_NAME'=> 
  array (
    'width'=> '10%',
    'label'=> 'LBL_MODIFIED',
    'default'=> false,
  ),
  'EMAIL1'=> 
  array(
    'width'=> '15%', 
    'label'=> 'LBL_EMAIL_ADDRESS',
    'sortable'=> false,
    'link'=> true,
    'customCode'=> '{$EMAIL1_LINK}{$EMAIL1}</a>',
    'default'=> true
  ),  
  'DATE_ENTERED'=> 
  array (
    'width'=> '5%',
    'label'=> 'LBL_DATE_ENTERED',
    'default'=> true,
  ),  */
);
?>